package com.atguigu.gmall.user.client;

import com.atguigu.gmall.model.user.UserAddress;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * @Description: TODO
 * @Author: Mr.Cao
 * @DateTime: 2021/10/21 11:44
 * BMW F750GS
 **/
@FeignClient("service-user")
public interface UserFeignClient {
    //远程调用,过去收件人信息
    @GetMapping("/api/user/passport/getUserAddressList")
     List<UserAddress> getUserAddressList();
}
